# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class AvailableCPUArch(object):

    def __init__(self, cpuArchInfo=None, soldOut=None, availableMemorySpecs=None, shardNumberMin=None, shardNumberMax=None, maxMemoryMB=None):
        """
        :param cpuArchInfo: (Optional) CPU架构详情
        :param soldOut: (Optional) 是否售罄
        :param availableMemorySpecs: (Optional) 售卖内存规格列表
        :param shardNumberMin: (Optional) 支持最小分片数
        :param shardNumberMax: (Optional) 支持最大分片数
        :param maxMemoryMB: (Optional) 支持的最大内存规格
        """

        self.cpuArchInfo = cpuArchInfo
        self.soldOut = soldOut
        self.availableMemorySpecs = availableMemorySpecs
        self.shardNumberMin = shardNumberMin
        self.shardNumberMax = shardNumberMax
        self.maxMemoryMB = maxMemoryMB
